var qyreset_app = function(){//企业管理-重置密码
	//页面初始化
	function loadCydzgl(){
		var qyractive = new Ractive({
			el: '.main-content',
			template: '#main-template',
			oncomplete: function(){
				qyractive.set('glyzh',store.get('qygl_glyzh'));
				qyractive.set('password','');
			}
		});
		
		qyractive.on({
			password: function(e){//密码格式修正
				var currV = $(e.node).val();
				currV = currV.replace(/[\u4e00-\u9fa5]/g,'');
				qyractive.set("password", currV);
			}
		})
	}
	
	return {
		init: function(){
			loadCydzgl();
		}
	}
}();

$(document).ready(qyreset_app.init);